package com.yh.homestay.service;

import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.pojo.UserMember;

import java.util.List;

public interface UserMemberService {

    HomeStayResult showUserMember(Integer page, Integer limit, String userName);

    HomeStayResult insertUserMember(UserMember userMember);

    HomeStayResult deleteUserMember(Integer id);

    HomeStayResult updateUserMember(UserMember userMember);

    HomeStayResult showOneUserMember(Integer id);

    HomeStayResult deleteBatchUsers(List<Integer> ids);
}
